package de.koller.kelvin.render;

import de.koller.aframe.plain.PlainQuality;
import de.koller.kelvin.KNode;
import de.koller.oceanFramework.tree.Child;
import java.awt.Graphics2D;

public class KRender extends KNode {
	
	@Child public final KCamera camera = new KCamera();
	
	public void renderThis( Graphics2D g ) {	
		PlainQuality.worst( g );
		
		camera.transform( g );
		
		kroot.engine.tilemap.render( g );
		
		camera.restore( g );
	}

}
